package gupao.edu.spring.demo.action;

import gupao_edu_spring_webmvc.web.servlet.MYModelAndView;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @ClassName:
 * @Description:
 * @Auther: zhouych
 * @Date: 2019/5/10 11:19
 */
public class BaseAction {

    protected MYModelAndView out(HttpServletResponse resp, String str){
        try {
            resp.getWriter().write(str);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return null;
    }
}
